package youth;

public class TestClass {
    public static void main(String[] args) {
        OrdinaryYouth ordinaryYouth = new OrdinaryYouth("张三", 25, "男", "XX大学", "程序员");
        System.out.println(ordinaryYouth);

        LiteraryYouth literaryYouth = new LiteraryYouth("李四", 23, "女", "YY大学", "《青春之歌》", "成为知名作家");
        System.out.println(literaryYouth);
    }
}